/**
 * <p>Title: FSysUserAuthService.java</p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2017</p>
 * <p>Company: http://www.richfit.com/</p>
 *
 * @author Administrator
 * @date 2019年10月28日
 * @version 1.0
 */
package com.rf.richfitwheel.admin.feignclient;


import com.rf.richfitwheel.common.utils.R;
import com.rf.richfitwheel.workflow.entity.WfTaskParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(name = "richfitwheel-workflow-server/wftask")
public interface FWfTaskService {

    /**
     * 提交流程
     *
     * @param wfTaskParam
     * @return
     */
    @PostMapping("/submitTask")
    public R submitTask(@RequestBody WfTaskParam wfTaskParam);


}
